<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<div class="title">
	<s:a href="/admin/foodTemplateList.html" cssClass="parent fl"><s:text name="admin.foodTemplateList.title" /></s:a>
	<s:label cssClass="parent fl"  value=">" />
	<s:label cssClass="current fl" key="admin.foodTemplateDelete.title" />
	<s:a href="/admin/foodTemplateList.html" cssClass="back fr">[<s:text name="common.button.back" />]</s:a>
	<span class="back pr5 fr">
		[<s:text name="admin.foodTemplateDelete.title" />]
	</span>
	<s:a action="foodTemplateEdit" cssClass="back pr5 fr">
		[<s:text name="admin.foodTemplateEdit.title" />]
		<s:param name="foodTemplateId" value="foodTemplateId"></s:param>
	</s:a>
	<div class="clear"></div>
	<hr class="title" />
</div>
<s:form action="doFoodTemplateDelete" method="post" theme="simple">
	<s:hidden name="foodTemplateId" />
	<s:token />
	<div>
		<div class="fr cr ft w500">
			<div class="h30"></div>
			<div class="w300"></div>
		</div>
		<div class="table fr">
			<%-- 页面提示信息 --%>
			<div class="row">
				<div class="cell-label"></div>
				<div class="cell-text fieldError h30">
					<s:actionerror />
				</div>
			</div>
			<%-- 食品图片 --%>
			<div class="row">
				<div class="cell-label"><s:text name="admin.foodList.preview" />:</div>
				<div class="cell-text">
					<img alt="" src="<s:property value="foodTemplateDetailBean.picturePath" />" class="w240 h240" />
					<s:hidden name="foodTemplateDetailBean.picturePath" />
				</div>
			</div>
			<%-- 食品名 --%>
			<s:if test="labelLang1 != null">
				<div class="row">
					<div class="cell-label w80">
						<s:text name="admin.foodList.foodName" />(<s:property value="labelLang1" />):
					</div>
					<div class="cell-text w240">
						<s:textfield name="foodTemplateDetailBean.foodName1" cssClass="w240" disabled="true" />
					</div>
				</div>
			</s:if>
			<s:if test="labelLang2 != null">
				<div class="row">
					<div class="cell-label w80">
						<s:text name="admin.foodList.foodName" />(<s:property value="labelLang2" />):
					</div>
					<div class="cell-text w240">
						<s:textfield name="foodTemplateDetailBean.foodName2" cssClass="w240" disabled="true" />
					</div>
				</div>
			</s:if>
			<s:if test="labelLang3 != null">
				<div class="row">
					<div class="cell-label w80">
						<s:text name="admin.foodList.foodName" />(<s:property value="labelLang3" />):
					</div>
					<div class="cell-text w240">
						<s:textfield name="foodTemplateDetailBean.foodName3" cssClass="w240" disabled="true" />
					</div>
				</div>
			</s:if>
			<s:if test="labelLang4 != null">
				<div class="row">
					<div class="cell-label w80">
						<s:text name="admin.foodList.foodName" />(<s:property value="labelLang4" />):
					</div>
					<div class="cell-text w240">
						<s:textfield name="foodTemplateDetailBean.foodName4" cssClass="w240" disabled="true" />
					</div>
				</div>
			</s:if>
			<s:if test="labelLang5 != null">
				<div class="row">
					<div class="cell-label w80">
						<s:text name="admin.foodList.foodName" />(<s:property value="labelLang5" />):
					</div>
					<div class="cell-text w240">
						<s:textfield name="foodTemplateDetailBean.foodName5" cssClass="w240" disabled="true" />
					</div>
				</div>
			</s:if>
			<%-- 价格 --%>
			<div class="row">
				<div class="cell-label"><s:text name="admin.foodList.price" />:</div>
				<div class="cell-text">
					<s:textfield name="foodTemplateDetailBean.price" cssClass="w240" disabled="true" />
				</div>
			</div>
			<%-- 最后更新人 --%>
			<div class="row">
				<div class="cell-label"><s:text name="common.label.updateUser" />:</div>
				<div class="cell-text">
					<s:textfield name="foodTemplateDetailBean.updateUserNickName" cssClass="w240" disabled="true" />
				</div>
			</div>
			<%--最后更新时间 --%>
			<div class="row">
				<div class="cell-label"><s:text name="common.label.updateDate" />:</div>
				<div class="cell-text">
					<s:textfield name="foodTemplateDetailBean.updateDate" cssClass="w240" disabled="true">
						<s:param name="value"><s:date name="foodTemplateDetailBean.updateDate" format="%{#request.dateFormat}" /></s:param>
					</s:textfield>
				</div>
			</div>
			<%-- 描述 --%>
			<s:if test="labelLang1 != null">
				<div class="row">
					<div class="cell-label w80 pt8">
						<s:text name="admin.foodList.description" />(<s:property value="labelLang1" />):
					</div>
					<div class="cell-text w240 pt8">
						<s:textarea name="foodTemplateDetailBean.description1" cssClass="w240 h60" disabled="true" />
					</div>
				</div>
			</s:if>
			<s:if test="labelLang2 != null">
				<div class="row">
					<div class="cell-label w80 pt8">
						<s:text name="admin.foodList.description" />(<s:property value="labelLang2" />):
					</div>
					<div class="cell-text w240 pt8">
						<s:textarea name="foodTemplateDetailBean.description2" cssClass="w240 h60" disabled="true" />
					</div>
				</div>
			</s:if>
			<s:if test="labelLang3 != null">
				<div class="row">
					<div class="cell-label w80 pt8">
						<s:text name="admin.foodList.description" />(<s:property value="labelLang3" />):
					</div>
					<div class="cell-text w240 pt8">
						<s:textarea name="foodTemplateDetailBean.description3" cssClass="w240 h60" disabled="true" />
					</div>
				</div>
			</s:if>
			<s:if test="labelLang4 != null">
				<div class="row">
					<div class="cell-label w80 pt8">
						<s:text name="admin.foodList.description" />(<s:property value="labelLang4" />):
					</div>
					<div class="cell-text w240 pt8">
						<s:textarea name="foodTemplateDetailBean.description4" cssClass="w240 h60" disabled="true" />
					</div>
				</div>
			</s:if>
			<s:if test="labelLang5 != null">
				<div class="row">
					<div class="cell-label w80 pt8">
						<s:text name="admin.foodList.description" />(<s:property value="labelLang5" />):
					</div>
					<div class="cell-text w240 pt8">
						<s:textarea name="foodTemplateDetailBean.description5" cssClass="w240 h60" disabled="true" />
					</div>
				</div>
			</s:if>
			<div class="row">
				<div class="cell-label"></div>
				<div class="cell-button">
					<s:submit name="delete" method="delete" key="common.button.delete" cssClass="button1" />
				</div>
			</div>
		</div>
	</div>
	<div class="clear"></div>
</s:form>